<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<%= yield(:keywords) || tag(:meta, :content=>t("page.meta_keywords"), :name=>"keywords") %>
	<%= yield(:description) || tag(:meta, :content=>t("page.meta_description"), :name=>"description") %>
	<title><%= yield(:title) || t("page.title") %></title>

	<style type="text/css"><!-- @import "/stylesheets/style.css"; --></style>
		<!--[if lt IE 7]>
			<![if gte IE 5.5]>
				<style type="text/css">
					@import "/stylesheets/ie6.css";
				</style>
			<![endif]>
		<![endif]-->
	
	<%= javascript_include_tag :defaults, 'carousel', 'swfobject' %>
	
	<%= yield(:head) %>
</head>
<body>
	
	<div id="main-layer">
		<div id="left-side">
			<div id="right-side">
				<div id="content">
					
					<div id="background">
						<div class="ornament o1"></div>
						<div class="ornament o2"></div>
						<div class="ornament o3"></div>
						<div id="header-picture" class="<%= @structure.nil? ? 'b4' : @structure.css_class.to_s %>"></div>
						<div id="header-area"></div>
					</div>
					
					<div id="main-content">
						<%= link_to image_tag('logo.jpg', :alt=>'Grand Palace Sport'), root_path, :id=>'logo' %>
						<%= link_to image_tag('home.gif', :alt=>'Главная'), root_path, :id=>'home' %>
						<%= link_to image_tag('a.gif', :alt=>'Карта сайта'), page_path('sitemap'), :id=>'a' %>
						<%= link_to image_tag('letter.gif', :alt=>'Написать нам письмо', :title=>'Написать нам письмо'), 'mailto:info@gpsport.ru', :id=>'letter' %>
						<div class="menu">
							<%= render :partial => 'shared/menu' %>
						</div>
						<div>
								<div id="columns">
									<div id="left-column">
										<div id="left-column-content">
											<div id="news">
												<%= render :partial => 'shared/news' %>						
											</div>
											<div id="search">
												<%= render :partial => 'shared/search' %>
											</div>
											<!--<div id="auto"> <%= link_to t('label.login'), login_path %></div>-->
										</div>
									</div>
									<div id="right-column">
										<div id="right-content">
										
											<%= yield %>

											
										</div>
									</div>
									<div class="clean"></div>
								</div>
							</div>
						</div>
						<div id="coord">
							<p class="phone">(812) 449-93-39</p>
							<p class="address">г. Всеволожск, Октябрьский пр., 180</p>
						</div>
						<div id="copyright">© Grand Palace Sport</div>
					</div>
				</div>
			</div>
		</div>
	  
  
  <%= yield(:footer) %>
  
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7948415-3");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
